package mysql

import "gorm.io/gorm"

type Order struct {
	gorm.Model
	GoodsId int `gorm:"type:int(11);not null;comment:商品id"`
	OrderSn int `gorm:"type:int(11);not null;comment:支付类型"`
	PayTime int `gorm:"type:int(11);not null;comment:支付手机"`
	Amount  int `gorm:"type:decimal(10,2);default:0.00;comment:支付金额"`
}
type OrderGoods struct {
	gorm.Model
}
